home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ Network Win9x 1.xpl < prev    next >
Text File  |  1999-10-16  |  1KB  |  47 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Network\Security\General"
  5. "NAME"="Windows 9x Plain Text Passwords"
  6. "VERSION"="1.00"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Allow plain text passwords"
  9. "DESCRIPTION 1"="Windows 95 or 98 does not support plain text passwords for security reasons, however, some servers, such as Samba, Unix, or Linux, often require plain text passwords to allow a user to logon to them."
  10. "DESCRIPTION 2"="Enable this option if you require plain text passwords, but keep in mind this will reduce your password security."
  11. "AUTHOR"="Xteq Systems"
  12. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  13. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  14.  
  15.  
  16. sPath="HKLM\System\CurrentControlSet\Services\VxD\Vnetsup\"
  17. sV1="EnablePlainTextPassword"
  18. Sub Plugin_Initialize 
  19.  If GetWinVer=1 or GetWinVer=3 then
  20.     i=RegReadValue(sPath & sV1)
  21.     if i=1 then SetUIElement 1,true
  22.  else
  23.   Disable
  24.  end if
  25. End Sub
  26.  
  27. Sub Plugin_CheckData(ElementIndex)
  28. End Sub
  29.  
  30. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  31.  b=GetUIElement(1)
  32.  if b=false then
  33.     e=RegReadValue(sPath & sV1)
  34.     if IsEmpty(e)=false then
  35.        Call RegDeleteValue(sPath & sV1)
  36.     end if
  37.  else
  38.    Call RegWriteValue(sPath & sV1,1,2) 
  39.  end if
  40.  
  41.  
  42.  Call Restart()
  43. End Sub
  44.  
  45. Sub Plugin_Terminate 
  46. End Sub
  47.